package JavaSE.Class11.Demo;

public class Behavior {
    public static void fly(IFlying iFlying){
        iFlying.fly();
    }

    public static void swim(ISwimming iSwimming){
        iSwimming.swim();
    }

    public static void run(IRunning iRunning){
        iRunning.run();
    }
}
